x86: don't clear high 32 bits of RAX on sub-word guest I/O port reads
authorJan Beulich <jbeulich@suse.com>
Mon, 11 May 2015 08:37:58 +0000 (10:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 11 May 2015 08:37:58 +0000 (10:37 +0200)
commit1191aa9d1988c469844eb4545689617a8b13eae1
tree68d0f1b71840d5f61c6a4040988e17626feb2f7b
parenta8403337c02cbca04e3eaf0ff3c55f7eef521785
x86: don't clear high 32 bits of RAX on sub-word guest I/O port reads

1- or 2-byte operations never alter the high halves of registers.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/traps.c